import request from '../utils/request';

export async function login(info) {
  return request('/user/login.action', {
  	method: "POST",
  	mode: "cors",
  	headers: {
	    'Accept': 'application/json',
      'Content-Type': 'application/json'
	 },
  	body: JSON.stringify(info)
  });
}
